package org.witsoft.localmq;

import org.witsoft.localmq.model.Message;

import java.io.IOException;
import java.util.List;

/**
 * @ClassName: LogFileWriter
 * @Description:
 * @Author: Colin
 * @Date: 2020/12/26 1:02 AM
 * @Version 1.0
 **/
public interface FileWriter {

    void write(List<Message> messages) throws IOException;
}
